package com.blyat.xsoft.gateway.restful.entity;

import com.blyat.xsoft.kernel.restful.entity.XSoftEntity;
import org.apache.ibatis.type.Alias;

/**
 * @Auther: syh
 * @Date: 2020/9/14
 * @Description:
 */
@Alias("balancer")
public class Balancer extends XSoftEntity {

    private String code;
    private int rule;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getRule() {
        return rule;
    }

    public void setRule(int rule) {
        this.rule = rule;
    }
}
